package com.lz.yz.outing.service;



import com.lz.yz.base.entity.ReturnValue;
import com.lz.yz.member.entity.Member;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface WechatService {


    String getTicket();

    ReturnValue makeWechatOrder(Map<String, Object> map, HttpServletRequest request) throws IllegalAccessException, NoSuchFieldException, InstantiationException;

    String getAccessToken();

    ReturnValue getSign(String url);

    Member getUserInfoByCode(Integer platform,String code);

    /**
     * 微信退款
     */
    ReturnValue wechatPayRefund(String orderNo);

    /**
     * 微信企业付款--提现
     */
    ReturnValue wechatTransfers(Map<String, Object> map, HttpServletRequest request);
}
